home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2008 February / PCWFEB08.iso / Software / Resources / Developers / PSPad 4.5.2 / pspad452inst_en.exe / {app} / Template / PSPad script.vbs < prev    next >
Encoding:
Text File  |  2005-02-24  |  567 b   |  17 lines

  1. ' it will create new editor window, copy all text from first window into new
  2. ' and save new file as C:\SAMPLE.TXT
  3. const module_name  = "xxxx"         'this name must be unique !!!
  4. const module_desc  = "some name"  'script description
  5. const module_ver   = "1.0"         'version
  6.  
  7. sub Main      'main procedure
  8.  
  9. end sub
  10.  
  11.  
  12. ' name "Init" is required, its called automatically during initialization to create menu items
  13. ' addMenuItem "Name of menu item", "Name of submenu if required", "Main"
  14. sub Init
  15.   addMenuItem "Name of menu item", "", "Main"
  16. end sub
  17.